package com.lyx.server.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.lyx.common.vo.R;
import com.lyx.server.entity.SignLog;
import com.lyx.server.service.SignLogService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (SignLog)表控制层
 *
 * @author McMeloxD
 * @since 2024-08-15 17:40:58
 */
@RestController
@RequestMapping("/server/sign")
public class SignLogController {
    /**
     * 服务对象
     */
    @Resource
    private SignLogService signLogService;

    @GetMapping("all")
    public R SignLogs(Integer uid) {
        return signLogService.queryByUid(uid);
    }
}

